﻿using System.ComponentModel.DataAnnotations;

namespace LinCms.Blog.Tags;

public class CreateUpdateTagDto
{
    [Required(ErrorMessage = "请上传标签封面")]
    public string Thumbnail { get; set; }
    [Required(ErrorMessage = "标签为必填项")]
    public string TagName { get; set; }

    public string Remark { get; set; }

    /// <summary>
    /// 别名
    /// </summary>
    [MaxLength(300, ErrorMessage = "请少于300个字符")]
    public string Alias { get; set; }

    public bool Status { get; set; }

}